/** When your routing table is too long, you can split it into small modules **/
// 曲线管理
import Layout from '@/layout'


const curveManage = {
  path: '/curve-manage-new',
  component: Layout,
  redirect: '/curve-manage-new/market-interest-rate-info',
  name: 'curve-manage-new',
  meta: {
    title: 'curveManageNew',
    icon: 'el-icon-pie-chart'
  },
  children: [
    { //市场曲线设置
      path: 'market-interest-rate-info',
      component: () => import('@/views/CurveManageNew/MarketInterestRateInfo/index'),
      name: 'cmn-market-interest-rate-info',
      meta: { title: 'cmnMarketInterestRateInfo'}
    },
    { //基础曲线设置
      path: 'base-curve-set',
      component: () => import('@/views/CurveManageNew/BaseCurveSet/index'),
      name: 'cmn-base-curve-set',
      meta: { title: 'cmnBaseCurveSet' }
    },
    {   //转移曲线设置
      path: 'transfer-curve-set',
      component: () => import('@/views/CurveManageNew/TransferCurveSet/index'),
      name: 'cmn-transfer-curve-set',
      meta: { title: 'cmnTransferCurveSet' }
    },
    {   //转移曲线组设置
      path: 'transfer-curve-group-set',
      component: () => import('@/views/CurveManageNew/TransferCurveGroupSet/index'),
      name: 'cmn-transfer-curve-group-set',
      meta: { title: 'cmnTransferCurveGroupSet' }
    },
    {   //曲线数据导入
      path: 'curve-import',
      component: () => import('@/views/CurveManageNew/CurveImport/index'),
      name: 'cmn-curve-import',
      meta: { title: 'cmnCurveImport' }
    },
    {   //对外发布ftp利率
      path: 'ftp-interest-rate',
      component: () => import('@/views/CurveManageNew/FtpInterestRate/index'),
      name: 'cmn-ftp-interest-rate',
      meta: { title: 'cmnFtpInterestRate' }
    },
    // { //基础曲线
    //   path: 'base-curve',
    //   component: () => import('@/views/CurveManageNew/BasicCurve'),  //router-view
    //   redirect: 'base-curve/generation-scheme/direct-reference',
    //   name: 'cmn-base-curve',
    //   meta: {title: 'cmnBaseCurve'},
    //   children: [
    //     // { //基础曲线生成方案 备注文件路径已经被修改到曲线生成方案中
    //     //   path: 'generation-scheme',
    //     //   component: () => import('@/views/CurveManageNew/BasicCurve/GenerationScheme'),  //router-view
    //     //   redirect: 'generation-scheme/direct-reference',
    //     //   name: 'cbc-generation-scheme',
    //     //   meta: {title: 'cbcGenerationScheme'},
    //     //   children: [
    //     //     { //直接引用
    //     //       path: 'direct-reference',
    //     //       component: () => import('@/views/CurveManageNew/BasicCurve/GenerationScheme/DirectReference'),
    //     //       name: 'cgs-direct-reference',
    //     //       meta: {title: 'cgsDirectReference'}
    //     //     },
    //     //     { //算数平均-点差
    //     //       path: 'arithmetic-mean',
    //     //       component: () => import('@/views/CurveManageNew/BasicCurve/GenerationScheme/ArithmeticMean'),
    //     //       name: 'cgs-arithmetic-mean',
    //     //       meta: {title: 'cgsArithmeticMean'}
    //     //     },
    //     //     { //代码引用
    //     //       path: 'code-references',
    //     //       component: () => import('@/views/CurveManageNew/BasicCurve/GenerationScheme/CodeReferences'),
    //     //       name: 'cgs-code-references',
    //     //       meta: {title: 'cgsCodeReferences'}
    //     //     },
    //     //     { //曲线拼接
    //     //       path: 'curve-accumulation',
    //     //       component: () => import('@/views/CurveManageNew/BasicCurve/GenerationScheme/CurveAccumulation'),
    //     //       name: 'cgs-curve-accumulation',
    //     //       meta: {title: 'cgsCurveAccumulation'}
    //     //     },
    //     //   ]
    //     // },
    //     { //基础曲线设置
    //       path: 'base-curve-set',
    //       component: () => import('@/views/CurveManageNew/BasicCurve/BaseCurveSet'),
    //       name: 'cbc-base-curve-set',
    //       meta: {title: 'cbcBaseCurveSet'}
    //     },
    //   ]
    // },
    // { //转移曲线
    //   path: 'transfer-curve',
    //   component: () => import('@/views/CurveManageNew/TransferCurve'), //router-view
    //   redirect: 'transfer-curve/generate-solutions/gdirect-reference',
    //   name: 'cmn-transfer-curve',
    //   meta: {title: 'cmnTransferCurve'},
    //   children: [
    //     { //转移曲线生成方案
    //       path: 'generate-solutions',
    //       component: () => import('@/views/CurveManageNew/TransferCurve/GenerateSolutions'), //router-view
    //       redirect: 'generate-solutions/gdirect-reference',
    //       name: 'ctc-generate-solutions',
    //       meta: {
    //         title: 'ctcGenerateSolutions',
    //       },
    //       children: [
    //         { //直接引用
    //           path: 'gdirect-reference',
    //           component: () => import('@/views/CurveManageNew/TransferCurve/GenerateSolutions/GdirectReference'),
    //           name: 'cgs-gdirect-reference',
    //           meta: {title: 'cgsGdirectReference'}
    //         },
    //         { //算数平均
    //           path: 'garithmetic-mean',
    //           component: () => import('@/views/CurveManageNew/TransferCurve/GenerateSolutions/GarithmeticMean'),
    //           name: 'cgs-garithmetic-mean',
    //           meta: {title: 'cgsGarithmeticMean'}
    //         },
    //         { //曲线叠加
    //           path: 'gcurve-superposition',
    //           component: () => import('@/views/CurveManageNew/TransferCurve/GenerateSolutions/GcurveSuperposition'),
    //           name: 'cgs-gcurve-superposition',
    //           meta: {title: 'cgsGcurveSuperposition'}
    //         },
    //       ]
    //     },
    //     {   //转移曲线设置
    //       path: 'transfer-curve-set',
    //       component: () => import('@/views/CurveManageNew/TransferCurve/TransferCurveSet'),
    //       name: 'ctc-transfer-curve-set',
    //       meta: {title: 'ctcTransferCurveSet'}
    //     },
    //     {   //转移曲线组设置
    //       path: 'transfer-curve-group-set',
    //       component: () => import('@/views/CurveManageNew/TransferCurve/TransferCurveGroupSet'),
    //       name: 'ctc-transfer-curve-group-set',
    //       meta: {title: 'ctcTransferCurveGroupSet'}
    //     },
    //   ]
    // },
   

    // {
    //   path: 'inline-edit-table',
    //   component: () => import('@/views/table/inline-edit-table'),
    //   name: 'InlineEditTable',
    //   meta: { title: 'Inline Edit' }
    // },
    // {
    //   path: 'complex-table',
    //   component: () => import('@/views/table/complex-table'),
    //   name: 'ComplexTable',
    //   meta: { title: 'Complex 表格' }
    // }
  ]
}
export default curveManage
